The bill would ban TikTok if the Chinese tech company, Byte Dance, which owns it, doesn't sell its stake within a year.