If you really, really feel you HAVE to go...do some front work with one of the women you trust most and ask her to have your back on not drinking? If you have someone chiming in with you in a positive way ("Oh, leave her alone, she's being healthy and good for her!") it can be a major help when the others get three drinks down and start being in that weird, belligerent stage of drunkdom where people start insisting you drink with them.
If you can count on the bride, all the better. It's her night, so if she's your backup, nobody is going to argue with her.