Outgoing White House staff secretary Jessica Hertz is the new general counsel of the e-commerce company Shopify.