pub fn consume_backup_code(stored_json: &str, code: &str) -> Option<String>
If code matches one of the stored (JSON array) hashes, consume it and return the remaining hashes as JSON. Returns None when nothing matched.
code
None