The new bill comes after Andrew Bailey vowed to investigate companies pulling business from X, formerly Twitter over hate speech.