Notwithstanding Article 15.26, Code of Criminal Procedure, an arrest warrant issued for a child and a complaint or affidavit on which an arrest warrant issued for a child is based are confidential and may be disclosed only to the following:
(1) the judge, probation officer, and professional staff or consultants of the juvenile court;
(2) a juvenile justice agency, as defined by Section 58.101;
(3) a criminal justice agency, as defined by Section 411.082, Government Code;
(4) an attorney representing the child's parent in a proceeding under this title;
(5) an attorney representing the child;
(6) a prosecuting attorney; or
(7) with permission from the juvenile court, another individual, agency, or institution with a legitimate interest in the information or court.