Added connection parameter to get_db_prep_lookup