If the plan of the debtor is confirmed under , as soon as practicable after completion by the debtor of all payments due within the first 3 years of the plan, or such longer period not to exceed 5 years as the court may fix, unless the court approves a written waiver of discharge executed by the debtor after the order for relief under this chapter, the court shall grant the debtor a discharge of all debts provided in , and all other debts allowed under and provided for in the plan, except any debt—
((1)) on which the last payment is due after the first 3 years of the plan, or such other time not to exceed 5 years fixed by the court; or
((2)) of the kind specified in .