code: def _normalize_label(value: str) -> str:
      """Lowercase and replace illegal characters in labels."""
      # See https://cloud.google.com/compute/docs/labeling-resources.
      result = re.sub(r"[^a-z0-9\_\-]", "-", value.lower())
      if len(result) > 63:
          logging.warning(
              "Length of label `%s` exceeds maximum length(63), trimmed.",
              result,
          )
          return result[:63]
      return result
  
file_path: tfx/tfx/utils/telemetry_utils.py
imports: import contextlib
  import functools
  import re
  import sys
  import threading
  from typing import Dict, List, Any, Callable
  from absl import logging
  from googleapiclient import http
  from tfx import version
label_desc: Use image node_id 2 for calling a global function with example usage: _normalize_label(value) and returns: result, result