protos use const char *key instead of char *key