Real talk, there is only one option to stay and it is the most alpha male shyt that can happen.
Option 1: Divorce with a lawsuit fukking her out of everything. Drag it the fukk out with the video as collateral. Let her know this shyt immediately.
Option 2: The compromise is having a postnup agreement with clear language in there stating the relationship is officially open.
Option 2 will come with a whole bunch of extra shyt on it because at this point you can be maximum savage. shyt like, "I want to fukk your friend. Bring her over," should be the first test.
She basically has to be extremely submissive sexually. Push her hard that first month to see if she will comply. If not, bush that hoe before it gets too deep in the marriage. 3 months is basically a fake marriage in most states and she would get nothing, especially with video evidence.
She gave you the keys to be the most savage mother fukker on Earth. Don't squander it. Most women will never give you this kind of leverage ever.