You need to fix the problem causing the pain, PLUS get fully recovered, before doing the big ride. That seems tough to accomplish in two weeks. I think fixing the problem is done by going back to the shop that fitted you.
Ignoring knee pain can be expensive, not to mention put you out of comission for weeks or months.