Medical records are and shall remain the property of the various institutions for the aged or infirm, subject, however, to reasonable access to the information contained therein upon written request by the resident, his legally appointed representatives, his attending medical personnel and his duly authorized nominees, and upon payment of any reasonable charges for such service. Nothing in this section shall be construed to deny access to medical records by the Attorney General, the licensing agency, or his or its agents and investigators in the discharge of their official duties under this chapter. Except as otherwise provided by law, medical records shall not constitute public records and nothing in this section shall be deemed to impair any privilege of confidence conferred by law or the Mississippi Rules of Evidence on residents, their personal representatives or heirs by Section 13-1-21.