; and (E) not later than September 30, 2020 (with a 1-year extension for each additional fiscal year that a State can demonstrate hardship, as determined by the State, and submits in writing evidence of such hardship to the Administrator which shall be considered approved unless the Administrator justifies to the State in writing that the hardship does not qualify for an exemption), the State will eliminate the use of valid court orders to provide secure confinement of status offenders, except that juveniles may be held in secure confinement in accordance with the Interstate Compact for Juveniles if the judge issues a written order that— (i) specifies the factual basis to believe that the State has the authority to detain the juvenile under the terms of the Interstate Compact for Juveniles; (ii) includes findings of fact to support a determination that there is no appropriate less restrictive alternative available to placing the juvenile in such a facility, with due consideration to the best interest of the juvenile; (iii) specifies the length of time a juvenile may remain in secure confinement, not to exceed 15 days, and includes a plan for the return of the juvenile to the home State of the juvenile; and (iv) may not be renewed or extended; ; (S) in paragraph (26)— (i) by inserting and in accordance with confidentiality concerns, after maximum extent practicable, ; and (ii) by striking the semicolon at the end and inserting the following: “, so as to provide for— (A) data in child abuse or neglect reports relating to juveniles entering the juvenile justice system with a prior reported history of arrest, court intake, probation and parole, juvenile detention, and corrections; and (B) a plan to use the data described in subparagraph (A) to provide necessary services for the treatment of such victims of child abuse or neglect; ; (T) in paragraph (27), as so redesignated, by striking the period at the end and inserting a semicolon