A tire dealer should be able to reprogram the TPMS or some bidirectional scan tools can do the programming. As long as the offset, depth, etc are close, it should be possible to swap the rims. If the rim dimensions are too different, there could be differences in handling or the tires could hit the fenders when going over bumps in the road. Because wheels are both from GM vehicles, chances are good that the geometries will be similar, but it always good to verify the dimensions.