There was this scifi novel I got years ago second hand about a prison station that was in the sun. The inmates were all supposedly mass murderers and the like but could not remember their supposed crimes since they had all their memories after a certain point removed (which varies with the prisoner, the main character had everything up to his college days but nothing after. Some were reverted to children) Some (referred to as bindlestiffs) develop severe narcolepsy where they will fall asleep in the middle of anything. This became so problematic that they were given automatically deploying tents for shelter when they drop asleep.
The main female lead is called Katie or something like that. Also they use Tonka trucks modified with tracking equipment to keep tabs on the bindlestiffs to keep them safe. Also there was another character called Lyle or Leo who died exploring the hull of the station under the field that held back the solar atmosphere.
After a couple new prisoners are sent plot happens and they discover something called "Traces" in their heads(Very fine metal wires intertwined in the nervous tissue) that the main character supposedly created.
However it turns out that the Traces were not artificial implants but a parasitic alien species that had attacked humanity but was unable to complete their life cycle, with the last free humans being the so called "inmates" in the station in the sun. The main character basically figured out how to free people from this species but need more time so he lied and said he'd figured out what kept the aliens from flowering.
The book ends as the inmates freed from the infestation slowly, piloted the station out of the sun, teleporting solar plasma into the alien controlled ships as a makeshift weapon, eventually destroying the majority of the infected since they just mindlessly rushed to get the cure for their inability to flower.
I lost this book years ago and I haven't turned up anything on Google with the information I know
I bought it around 1997 to 1999. I can't really remember the cover.