If a parent or other suitable person is awarded sole or joint custody of a child by a court pursuant to this chapter; and
If such parent or person is subsequently arrested, confined or otherwise detained by law enforcement officials or a court of competent jurisdiction; and
If, as a result of the arrest, confinement or detainment of such parent or person, such child temporarily comes to the care and custody of the department of children's services or any public or private agency, institution or home providing shelter care as defined in §37-1-102; then
Prior to the hearing required by §37-1-114, such department, agency, institution or home must undertake reasonable efforts to provide adequate notice of the time, place and purpose of such hearing to any other parent or person awarded joint custody or visitation rights by the court at the time the custody of the child was initially established.