Whenever a minor is incarcerated in a juvenile hall or other county juvenile facility for a period of at least 30 consecutive days, the facility may inform the State Department of Social Services of the name, date of birth, and social security number of the incarcerated person.