OTTAWA — The federal government asked for a court ruling to set aside the government's 2024 decision ordering TikTok to shut down its Canadian operations due to national security concerns.