Who is the person legally in charge of the child or entrusted with the child's custody?  
The person legally in charge of the child or entrusted with the child's custody is usually referred to as the custodial parent or guardian.