(a) Circulation and similar records of any public library in this state which identify the user of library materials are not public records but shall be confidential and may not be disclosed except:
(1) To members of the library staff in the ordinary course of business, including paid employees and unpaid volunteers upon completing a written confidentiality agreement which shall prevent disclosure of circulation records, personal information, and similar records of any public library except to the extent allowed under this subsection and obtaining written permission from the library director of the library system wherein he or she will be working;
(2) Upon written consent of the user of the library materials or the user's parents or guardian if the user is a minor or ward; or
(3) Upon appropriate court order or subpoena.
(b) Any disclosure authorized by subsection (a) of this section or any unauthorized disclosure of materials made confidential by that subsection (a) does not in any way destroy the confidential nature of that material, except for the purpose for which an authorized disclosure is made. A person disclosing material as authorized by subsection (a) of this section is not liable therefor.