This question already has an answer here:
Not as kinky as the my question suggests, but I'm trying to recall a short story I read about a couple, stranded on a planet.
If memory serves me correct, the somewhat timid wife/partner has to take medication regularly and is apparently not an intellectual match to the constantly researching male partner. Things start unraveling when she stops taking the medication though.
Turns out is that she used to be a he, and they were once colleagues on a mission together. Somehow through the drugs or some other procedure, the now husband/partner changed his colleagues sex and the medication she/he has been taking dutifully, serves to suppress any memories of her/his previous self and maintain a kind of docility in her.
I think she went back to taking the drugs after revealing that she remembered what happened, but I would love to get the title of the story and read that story again.