Under the Bernstein v. United States ruling software source code is protected under the 1st amendment, I do not know if this holds true for binaries as well though. I guess if TikTok distributed only its source code and it was compiled by the user the gov would be able to do nothing about it.