; and (2) an individual who reviews or creates a medical quality assurance record for the Administration, or participates in any proceeding that reviews or creates a medical quality assurance record, may not testify in a judicial or administrative proceeding with respect to— (A) the medical quality assurance record; or (B) any finding, recommendation, evaluation, opinion, or action taken by such individual or in accordance with such proceeding with respect to the medical quality assurance record. (b) Disclosure of records (1) In general Notwithstanding subsection (a), a medical quality assurance record may be disclosed to— (A) a Federal agency or private entity, if the medical quality assurance record is necessary for the Federal agency or private entity to carry out— (i) licensing or accreditation functions relating to Administration healthcare facilities; or (ii) monitoring of Administration healthcare facilities required by law; (B) a Federal agency or healthcare provider, if the medical quality assurance record is required by the Federal agency or healthcare provider to enable Administration participation in a healthcare program of the Federal agency or healthcare provider; (C) a criminal or civil law enforcement agency, or an instrumentality authorized by law to protect the public health or safety, on written request by a qualified representative of such agency or instrumentality submitted to the Administrator that includes a description of the lawful purpose for which the medical quality assurance record is requested; (D) an officer, an employee, or a contractor of the Administration who requires the medical quality assurance record to carry out an official duty associated with healthcare; (E) healthcare personnel, to the extent necessary to address a medical emergency affecting the health or safety of an individual