A measure aimed at preventing sex trafficking was passed by the Fairfax County Board of Supervisors Tuesday night.