; (B) for investigatory or prosecutorial purposes within the juvenile justice system; or (C) for a background check that relates to— (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. (5) Prohibition on disclosure (A) Prohibition Except as provided in subparagraph (C), it shall be unlawful to intentionally make or attempt to make an unauthorized disclosure of any information from a sealed juvenile record in violation of this section. (B) Penalty Any person who violates subparagraph (A) shall be fined under this title, imprisoned for not more than 1 year, or both. (C) Exceptions (i) Background checks A person who is the subject of a juvenile record sealed under this section 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 employment that requires a government security clearance. (ii) Disclosure to Armed Forces A person may disclose information from a sealed juvenile record 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. (iii) Criminal and juvenile proceedings A prosecutor may disclose information from a juvenile record sealed under this section if the information pertains to a potential witness in a Federal or State— (I) criminal proceeding