TikTok settling three teen social media lawsuits ahead of trial