well, that's that truly unlucky that he had you with both. That is something none of us considered since it required that specific hand. He could have either 6657 or 4457 to slow play it with confidence. We all just assumed he had the nut straight, better trips or the same straight, not the best of all worlds like he had.
I just think this was just a terrible situation that would require a great read on your player to get away from it. If it makes you feel better, I would have lost my stack on this hand but as I'm a beginner, that might mean much and make you feel worse.