2. Such comprehensive district-wide safety plan shall be developed by the district-wide school safety team and shall include at a minimum:
c. appropriate prevention and intervention strategies such as:
(i) collaborative arrangements with state and local law enforcement officials, designed to ensure that school safety officers and other security personnel are adequately trained, including being trained to de-escalate potentially violent situations, and are effectively and fairly recruited. [...]
10. Every school shall define the roles and areas of responsibility of school personnel, security personnel and law enforcement in response to student misconduct that violates the code of conduct. A school district or charter school that employs, contracts with, or otherwise retains law enforcement or public or private security personnel, including school resource officers, shall establish a written contract or memorandum of understanding that is developed with stakeholder input, including, but not limited to, parents, students, school administrators, teachers, collective bargaining units, parent and student organizations and community members, as well as probation officers, prosecutors, defense counsels and courts that are familiar with school discipline. Such written contract or memorandum of understanding shall define the relationship between a school district or charter school, school personnel, students, visitors, law enforcement, and public or private security personnel. Such contract or memorandum of understanding shall be consistent with the code of conduct, define law enforcement or security personnel's roles, responsibilities and involvement within a school and clearly delegate the role of school discipline to the school administration. Such written contract or memorandum of understanding shall be incorporated into and published as part of the district safety plan.