Google will pay the fee, but gets a five-year exemption from the law.