The drug for AMS or "la siroche" used to be Aldactone (spironolactone). Not sure if it was to be taken to prevent or treat it. My bottle carries warnings about "may cause dizziness" as well as "check with your physician before using salt substitutes" and possible stomach upsets (take snacks or a small meal). 25-mg tablets, take 1 every morning.
I was prescribed it as a diuretic; don't remember having any of these problems. It was stopped because my K+ (potassium) got too high; now I take Lasix (furosemide; don't confuse with the Lasik laser eye surgery) and they halved that to 10 mg each morning. Haven't tried Diamox and not sure what it does.