https://www.congress.gov/bill/118th-congress/house-bill/7521...
>(3) FOREIGN ADVERSARY CONTROLLED APPLICATION.—The term “foreign adversary controlled application” means a website, desktop application, mobile application, or augmented or immersive technology application that is operated, directly or indirectly (including through a parent company, subsidiary, or affiliate), by—
>(A) any of—
>(i) ByteDance, Ltd.;
>(ii) TikTok;
>(iii) a subsidiary of or a successor to an entity identified in clause (i) or (ii) that is controlled by a foreign adversary; or
>(iv) an entity owned or controlled, directly or indirectly, by an entity identified in clause (i), (ii), or (iii);
The Supreme Court or a lower court could Judge the law to be unconstitutional as the Judiciary Branch, and to that end the POTUS can nominate judges and the Senate can approve or deny them.
The only thing POTUS can unilaterally enact and/or revoke are Executive Orders, which themselves are grounded in laws Legislated by Congress and Judged by the courts as necessary.