Vicodin. Or equivalent. Not a steady diet of it but 1/2 tab will both slow the gut and decrease the anxiety. So just one tab total for the whole trip, both flights.
Immodium alone might be enough, but how long is the flight?
The scary part is sharing a room with 3 others.
Let us know...