Supporting affected workers through transfers, tax breaks, and training would ease the shift in the labor force.