The best thing you could do is sit down with him and have a good heart to heart conversation with him. Normally when one is cheating on the other there is something that is missing in the marriage. If done right perhaps this conversation could bring this to the forefront and help both you and your husband. I would not suggest letting him know at this time about the pass code as this would just make him angry at you.
Professional therapy and marriage counseling is also an alternative idea. Just do your best to stay away from any confrontations that would worsen the situation.
__________________
Please click the Green ACCEPT if my answer is helpful. Positive FEEDBACK and Bonus is appreciated.

