The legislation gives China-backed company ByteDance six months to divest from TikTok before app stores would start prohibiting access.