(a) Youth Services Administration records and files shall only be open to inspection by consent of the Family Division to persons having a legitimate interest therein. All information obtained and social records prepared in the discharge of official duty by an employee of the Youth Services Administration shall not be disclosed directly or indirectly to anyone other than the Family Division of the court or others permitted under this section to receive such information, unless and until otherwise ordered by the judge. Persons or agencies permitted access without consent of the Family Division are as follows:
(1) the representatives of a public or private agency, department, or institution providing supervision or having legal custody of the child or in preparing an official report to the court;
(2) legal counsel for the child.
(b) Whoever, except as provided by this section discloses, receives, or makes use of, or knowingly permits the use of information concerning a juvenile, directly or indirectly derived from Youth Services Administration records or files or acquired in the course of official duties, upon conviction thereof, shall be fined not more than five hundred dollars ($500.00) or imprisoned for not more than one year, or both.