A Security Framework for Smart Metering with Multiple Data Consumers