def METHOD_NAME(
    use_case_id: Union[UseCaseID, UseCaseKey], org_id: int, string: str
) -> Union[str, int]:
    use_case_id = to_use_case_id(use_case_id)
    assert isinstance(string, str)
    assert isinstance(use_case_id, UseCaseID)
    if METRIC_PATH_MAPPING[use_case_id] is UseCaseKey.PERFORMANCE:
        return string
    return resolve_weak(use_case_id, org_id, string)