Changed prototype of encode_key_write.