Internet service by one company is not trivial to address in a "ban". Unlike, for example, a chemical molecule. At least they have the experience in specifying and addressing that.
They have to store the data somewhere and it much more likely that they will sell than engage in value killing whack-a-mole with federal agencies
I think we might be able to manage to identify a company with hundreds of millions of users trying to mask themselves by... changing their name.
It's not like we're going to firewall them off. The bill bans distribution of the app in the US app stores and US companies from offering any kind of internet hosting services related to the app.
The same way that the government addresses most issues. They tell people not to do something, and if they refuse then they get fined, their assets frozen and confiscated, and eventually people are arrested.
Bytedance would have to withdraw all its assets and employees from anywhere in the west to escape the consequences.