(1) Any information or record disclosed pursuant to St. 2022, c. 81, § 7 may only be disclosed consistent with the Registrar's functions under federal and state law and not for the purpose of enforcing federal immigration law or provided to an agency that primarily enforces immigration law, unless the Registrar is provided with a lawful court order or judicial warrant signed by a judge appointed pursuant to Article III of the United States Constitution, a federal grand jury or trial subpoena, or as otherwise required by federal law. When responding to such an order, warrant, or subpoena, the Registrar may only disclose those records or information specifically requested in the order, warrant, or subpoena. Upon the Registrar's receipt of a lawful court order, judicial warrant, or subpoena, the Registrar shall, prior to disclosing the records or information and no later than three business days after receipt of such request, make reasonable efforts to notify the individual about whom such information was requested, informing such individual of the request and the identity of the agency that made such request, unless disclosure would impede a criminal investigation.