def get_expected_key_error_user_message(preference_key, preference_value):  # lint-amnesty, pylint: disable=unused-argument
    """
    Returns the expected user message for an invalid key.
    """
    return f"Invalid user preference key '{preference_key}'."