As Meg Davis said, the data will often be anonymous. Sometimes, the licence plate number will be recorded. There are different ways to do so. In terms of regulations, it won't be any different from the way that we collect information today. It will often depend on who owns the cars and trucks that will be automated on the roads, and on how information will be shared and exchanged. Basically, the information between cars and trucks and between those vehicles and infrastructure must be shared to ensure that the car network can operate.
On February 21st, 2019. See this statement in context.