A protocol for metering data pseudonymization in smart grids