“It was a death sentence. That’s what my doctor told me — that I probably had around 10 years to live,” the actress said at a fundraiser for AIDS research.