pub fn apply_action_to_str(action: &Action, value: &str) -> Option<String>
Apply a redaction action to a string payload field.