TikTok challenges legal restriction that may result in ban