code: def _replace_img_path_prefix(
      img_path: str, replace_prefix: str, new_prefix: str
  ):
      if img_path.startswith(replace_prefix):
          return img_path.replace(replace_prefix, new_prefix)
      return img_path
  
file_path: vissl/projects/fairness_indicators/harmful_label_associations/inference_label_assoc_casual_conversations.py
imports: import numpy
  import pandas
  from fvcore.common.file_io import PathManager
  from PIL import Image
  from vissl.utils.io import load_file
label_desc: Use image node_id 1 for calling a global function with example usage: _replace_img_path_prefix(img_path, replace_prefix, new_prefix) and returns: img_path, img_path