Remove Calls to legacy db_prepare_int