The company is ramping up its safety features amid growing legal scrutiny into the safety of its technology for young people.