Google has settled a lawsuit with a minor known who claimed that social media platforms harmed them.