### Summary

I'm seeing some breakage in collections caused (very likely) by #73703:
1. `AttributeError: 'AnsibleModule' object has no attribute '_check_type_dict'` (community.general, infoblox.nios_modules);
2. `ImportError: cannot import name 'handle_aliases'` (from `ansible.module_utils.common.parameters`) (community.crypto, community.sops).

While 1. could be considered 'own fault' because it is a private API, 2. looks like a bug, since that's a break in a public interface.

### Issue Type

Bug Report

### Component Name

core

### Ansible Version

devel

### Configuration

.

### OS / Environment

.

### Steps to Reproduce

.

### Expected Results

.

### Actual Results

.
"""Set default values for parameters when no value is supplied.
    Modifies parameters directly.
    :param argument_spec: Argument spec
    :type argument_spec: dict
    :param parameters: Parameters to evaluate
    :type parameters: dict
    :param set_default: Whether or not to set the default values
    :type set_default: bool
    :returns: Set of strings that should not be logged.
    :rtype: set
    """
    no_log_values = set()
    for param, value in argument_spec.items():
        
        
        default = value.get('default', None)
        
        
        if param not in parameters and (default is not None or set_default):
            
            if value.get('no_log', False) and default:
                no_log_values.add(default)
            parameters[param] = default
    return no_log_values
def _sanitize_keys_conditions(value, no_log_strings, ignore_keys, deferred_removals):