TikTok, Facing a US Ban, Is Also Waging Legal Battles Around the World