private static DeserializedKey deserializeKeyRecord(DataInputStream dataStream)
        throws IOException {
      int keySize = dataStream.readInt();
      byte[] encodedKey = new byte[keySize];
      dataStream.read(encodedKey);
      String keyAlgo = Utils.readIntString(dataStream);
      return new DeserializedKey(encodedKey, keyAlgo);
    }
Deserialize key from the stream in {@link KeyRecord_Format_V1}
@param dataStream the {@link DataInputStream} from which key needs to be deserialized
@return the deserialized key in the form of {@link DeserializedKey}
@throws IOException
ambry-router/src/main/java/com/github/ambry/router/GCMCryptoService.java