The world’s first law is designed to get tech giants to pay news publishers for content.