pub fn normalize_providers( providers: &[ProviderId], ) -> (Vec<ProviderId>, Vec<(ProviderId, ProviderId)>)