def get_track_label(track, cohort_info_array):
    # The IDs in cohort_info_array are integers, whereas the track IDs are strings.
    cohort_map = {str(item['id']): item['name'] for item in cohort_info_array}
    return cohort_map[track[TRACK_ID_FIELD]]