Google has agreed to settle a multi-million-dollar privacy lawsuit.