Gen. V and VI are the same. Gen. IV engines have vary different water passages.
Most after market heads are made to fit both with the right head gasket.
Gen V and Gen VI GM heads can not be used on Gen IV block. and....
Gen. IV GM heads can not be used on Gen V and VI blocks.