Could TikTok go open source to avoid the ban?

I'm aware of the wording of the legislation, but it's spirit is basically that you can't trust foreign agents with personal data. Would it be a good move for TikTok to disclose it's algorithm to reestablish trust, and could that put pressure on American companies to do the same?