; (2) for investigatory, prosecutorial, or Federal supervision purposes; or (3) for a background check that relates to law enforcement employment or any employment that requires a government security clearance. (f) Prohibition on disclosure (1) Prohibition Except as provided in paragraph (3), it shall be unlawful to intentionally make or attempt to make an unauthorized disclosure of any protected information from a record that has been sealed under this subchapter. (2) Penalty Any person who violates paragraph (1) shall be fined under this title, imprisoned for not more than 1 year, or both. (3) Exceptions (A) Background checks An individual who is the subject of a record sealed under this subchapter shall, and a Federal or State law enforcement agency that possesses such a record may, disclose the record in the case of a background check for— (i) law enforcement employment; or (ii) any position that a Federal agency designates as a— (I) national security position; or (II) high-risk, public trust position. (B) Disclosure to Armed Forces A person may disclose protected information from a record sealed under this subchapter to the Secretaries of the military departments (or the Secretary of Homeland Security with respect to the Coast Guard when it is not operating as a service in the Navy) for the purpose of vetting an enlistment or commission, or with regard to any member of the Armed Forces. (C) Criminal and juvenile proceedings A prosecutor may disclose protected information from a record sealed under this subchapter if the information pertains to a potential witness in a Federal or State— (i) criminal proceeding