In a flowchart in the Sessions area of Campaign, add two Select processes, one to select all records from a particular field in a mapped table in your datamart, and the other to select all records from the same datamart that have been classified as opt-outs and thus need to be removed from the total list of IDs.