pub fn validate_bounded_strings( values: &[String], name: &str, max_entries: usize, max_entry_text: usize, max_serialized_bytes: usize, ) -> Result<()>