I remember sitting at a bar in a distant city in some other country one night, and the person next to me, who I had just met that day, suggested that we do a shot together. Now these shots were big, and it had already been quite the night, and I remember thinking, "If I do this shot, it's probably the last thing I'll remember tonight." It was, but that's not the point of this anecdote. This experience gave me the ide…
Passing time without any knowledge or memory is probably the main reason to be taking drugs in prison. Yours sounds like the perfect, side-effect free solution!
On the flip side, a drug that let you retroactively forget would be heavily used I bet. Traumatic experiences are often wished to be forgotten. Though, I wonder what a human would be like if they didn't have negative experiences. One who was able to remove a big portion of mind shaping experiences. Further yet, I wonder if your mind ever truly forgets. If a dog bites you as a kid, and then you take the forget pill, are you still afraid of dogs?