(a) Information concerning a pupil shall be furnished in compliance with a court order or a lawfully issued subpoena. The school district shall make a reasonable effort to notify the pupil’s parent or legal guardian and the pupil in advance of compliance with a lawfully issued subpoena and, in the case of compliance with a court order, if lawfully possible within the requirements of the order.
(b) Once a court order or lawfully issued subpoena is issued to obtain a pupil’s contact information, the school district shall make a reasonable effort to enter into an agreement with the entity that obtained the court order or subpoena requiring that the pupil contact information be maintained in a confidential manner.
(c) Notwithstanding the content or existence of any agreement with a school district, a party that obtains pupil contact information pursuant to this section shall not use or disseminate that information for any purpose except as authorized by the court order or subpoena.