General Motors and its subsidiary OnStar agreed not to disclose sensitive vehicle geolocation and driver behaviour data to consumer reporting agencies for five years.