The Treasury Department released guidelines to its mortgage modification plan on Wednesday and said that the program will help up to 9 million homeowners avoid foreclosure. The guidelines will enable servicers to begin modifying mortgages right away, the department said. The guidelines set financial incentives for mortgage lenders to modify existing first mortgages and set standard industry practice. The Treasury program also includes incentives for removing second liens on loans.