code: def _scrub_participant_table(path_to_data):
      
      path = os.path.join(path_to_data, "participant.csv")
      with open_for_csv(path, "r") as input, open("{}.0".format(path), "w") as output:
          reader = csv.reader(input)
          writer = csv.writer(output)
          headers = next(reader)
          writer.writerow(headers)
          for i, row in enumerate(reader):
              row[headers.index("worker_id")] = row[headers.index("id")]
              row[headers.index("unique_id")] = "{}:{}".format(
                  row[headers.index("id")], row[headers.index("assignment_id")]
              )
              writer.writerow(row)
  
          os.rename("{}.0".format(path), path)
docs: Scrub PII from the given participant table.