pub(crate) fn validate_schema<K: Codec, V: Codec>( stats_schemas: &Schemas<K, V>, key: &[u8], val: &[u8], decoded_key: Option<&K>, decoded_val: Option<&V>, )