2nd lien and BK

I am working on a short sale for the 1st (foreclosed) and 2nd lien holders. I negotiate with the 2nd and reach an agreement for payoff but the sellers file for bankruptcy now. Can anybody tell me if I still can do a ss with the 1st? How do I approach the foreclosure trustee and present him with the offer if I can get discount with the 1st? Thanks for any help.