The IRS will only allow you to take a Mortgage Interest Deduction if you are actually liable for that mortgage. If the mortgage is in your name, then take the deduction.
The IRS will only allow you to take a Real Estate Tax Deduction if you own the property you paid the taxes for. If your name is on the title to the property, then take the deduction.