Any person, other than a pupil, who willfully violates this section, shall be guilty of a misdemeanor.Any pupil violating this section shall be subject to appropriate disciplinary action.This section shall not be construed as affecting the powers, rights, and liabilities arising from the use of electronic listening or recording devices as provided for by any other provision of law. 10.