get_states_for_secondary_descriptor(registry, secondary_desc)