[PLAT-5486] Changes to curve function.
[PLAT-5488] Changed to IssuerDiscount to use list of issuer for each curve.