Private corporations and government are different, legally and philosophically. You won't be able to apply a law written specifically restricting the government to private citizens or corporations without a constitutional amendment.
What Google and GoDaddy did was the private citizen equivalent of hearing someone else state their opinion, allowing the words to enter their brain, think about them, and then decide they do not espouse those opinions, so they will not go around stating them to other people as fact. That is not censorship, it's just good sense.