U.S. lawmakers have passed legislation requiring ByteDance to divest from TikTok by January 19, 2025.