def METHOD_NAME(use_case_id: Union[UseCaseID, UseCaseKey], org_id: int, string: str) -> str:
    use_case_id = to_use_case_id(use_case_id)
    resolved = resolve(use_case_id, org_id, string)
    assert isinstance(use_case_id, UseCaseID)
    if METRIC_PATH_MAPPING[use_case_id] is UseCaseKey.PERFORMANCE:
        return f"tags_raw[{resolved}]"
    else:
        return f"tags[{resolved}]"