Logic isn't something congress is good with, so who knows what kind of implications this would have. A website being liable for what users share is worrisome, though it already happens with warez and whatnot sharing. They're pretty good at removing links to illegal stuff on this forum anyway.
Edit:
Though thinking about it, the difference is with warez, you're linking to actual data. An actual thing. This law would make them liable for the content of their speech, not copyrighted code. That's a pretty important distinction.