; and (II) the apprehended parent or legal guardian and the child have access to legal counsel; and (H) coordinate with the Consulate of Mexico to ensure the safe repatriation of any child who is a citizen of Mexico. (4) Preservation of confidentiality Each child welfare professional shall maintain the privacy and confidentiality of all information gathered in the course of providing care, custody, placement, and follow-up services to a child pursuant to this subsection, consistent with the best interest of the child, by not disclosing such information to other Federal agencies or nonparental third parties unless such disclosure— (A) is in the best interest of the child; (B) is in writing; (C) includes an explanation of the justification for the disclosure; (D) is included in the file of the child; and (E) is either— (i) authorized by the child or an approved sponsor of the child, in accordance with section 235 of the William Wilberforce Trafficking Victims Protection Reauthorization Act of 2008 ( 8 U.S.C. 1232 ) and the Health Insurance Portability and Accountability Act ( Public Law 104–191 ; 110 Stat. 1936); or (ii) provided to a duly recognized law enforcement entity to prevent imminent and serious harm to another individual. (e) Prohibition on separation The Secretary may not remove a child from a parent or legal guardian solely for a purpose as follows: (1) The purpose of furthering the policy objective of deterring individuals from migrating to the United States. (2) The purpose of furthering the policy objective of promoting compliance with the immigration laws. (f) Family unit tracking number (1) In general The Secretary shall assign a family unit tracking number to each member of an apprehended family unit, including— (A) an apprehended spouse; (B) an apprehended parent or legal guardian; (C) a child of an apprehended parent or legal guardian; and (D) a sibling group. (2) Requirements The Secretary shall ensure that a family unit tracking number— (A) is transferrable