The bill is the latest in a string of legislation in recent years to clamp down on foreign influence and misinformation.