Proposed law will force Google and Facebook to pay local media for their news content or face millions of dollars in fines.