pub fn mask_headers(headers: &[(String, String)]) -> (Value, Vec<String>)
Headers as a recordable JSON array of [name, value] pairs with credential values masked, and the names that were masked.
[name, value]