Global water scarcity and environmental goals are making produced water treatment a top priority for energy companies.