(a) A school district, county office of education, charter school, state special school for the blind or the deaf, or a member of the governing board of a school district or county office of education or a member of the governing body of a charter school, shall not enact or enforce any policy, rule, or administrative regulation that would require an employee or a contractor to disclose any information related to a pupil’s sexual orientation, gender identity, or gender expression to any other person without the pupil’s consent, unless otherwise required by state or federal law.
(b) Subdivision (a) does not constitute a change in, but is declaratory of, existing law.
(c) Any policy, regulation, guidance, directive, or other action of a school district, county office of education, charter school, or state special school for the blind or the deaf, or a member of the governing board of a school district or county office of education or a member of the governing body of a charter school, that is inconsistent with subdivision (a) is invalid and shall not have any force or effect.