General Motors collected driving data through OnStar and sold it to data brokers.