Added threading to enrich_records (#7282)