It’s clear that in the “true” prisoner it is better to defect. The frustrating thing about the other prisoner’s dilemma is that some people use it to imply that it is better to defect in real life. The problem is that the prisoner’s dilemma is a drastic oversimplification of reality. To make it more realistic you’d have to make it iterated amongst a person’s social network, add a memory and a perception of the other player’s actions, change the payoff matrix depending on the relationship between the players etc etc.
This versions shows cases in which defection has a higher expected value for both players, but it’s more contrived and unlikely to come into existence than the other prisoner’s dilemma.