def METHOD_NAME(
    activity_type: str, activity_ids: list[str]
) -> None:
    """Removes the specified activity references from the list of featured
    activity references.
    Args:
        activity_type: str. The type of the activities to remove.
        activity_ids: list(str). The ids of the activities to remove.
    """
    featured_references = get_featured_activity_references()
    activity_references_ids_found = []
    new_activity_references = []
    for reference in featured_references:
        if reference.type != activity_type or reference.id not in activity_ids:
            new_activity_references.append(reference)
        else:
            activity_references_ids_found.append(reference.id)
    if activity_references_ids_found:
        # It is quite unusual for a featured activity to be unpublished or
        # deleted, so we log a message.
        for activity_id in activity_references_ids_found:
            logging.info(
                'The %s with id %s was removed from the featured list.' % (
                    activity_type, activity_id))
        update_featured_activity_references(new_activity_references)