On the triple tensor product of prime-power groups