TikTok reportedly preparing a US copy of the app’s core algorithm in order to appease lawmakers