Any qualified residential treatment program accredited by organizations as specified in Title 42 of the Social Security Act, 42 U.S.C. § 672(k)(4)(G), as amended, shall submit a completed license application or renewal application. Such child care institutions and child care agencies defined as group homes, specialized care, or homeless youth programs, shall be deemed licensed under this subdivision and shall be exempt from inspections carried out under N.H. Rev. Stat. § 170-E:31, IV. This section shall only apply to the activities or portions of the facility or agency accredited under Title 42 of the Social Security Act, 42 U.S.C. § 672(k)(4)(G), as amended.