There we go. The Doctor kept working until the memories were gone. He dropped his hand to Ianto's shoulders. "There, you're fine. Someone messed your memories, because you're Torchwood, it was confusing you. Jack fixed itas best he knew how. See, great mystery solved," he said steady and reassuring. Maybe not the truth, but probably. Close enough. Enough to give Ianto peace of mind.
The Master's hand stayed tangled in the hair on the back on of the Doctor neck.