J.M.
That behavior is not sexual it is a dog proving dominance. An alpha dog will do that to everyone and every dog regardless of it's sex. You need to declare dominance and this will stop. Ever time the dog tries to exhibit this behavior you need to make him submit by making him lay down on his back and become submissive.