The only way to do this that protects privacy is to accept that, but also parents of young children can just not give them root.