Santa Clara County’s main water provider on Tuesday approved an ordinance that makes it a crime to live by creeks and rivers that provide water and flood control to the region.