fn filter_used_messages( contents: &str, msgs_not_appeared_yet: &mut HashMap<String, String>, msgs_appeared_only_once: &mut HashMap<String, String>, )