Unless you are a seasoned buyer/investor you may be best served by buying an REO(bank-owned property) listed for sale on the MLS. Use your realtor to help you find these. At least you will feel safe knowing that upon close of escrow, you will receive a title free and clear of other liens.
Go visit a Title Company and tell the Escrow Officer what you want to do;
They will run a Prelim and even make up a HUD1 for you,
They will advise you about the Liens and Title.
When you win the property, you will want to run in thru the Title Company, and you will already have the relationship.
So, rather than telling you how to handle the liens, I am telling you how to avoid them.
Good luck and may God bless
There is no title insurance and the property may have liens that cloud the title. Recommend that you proceed with caution and seek information on existing liens, HOA, Tax, etc.
Vickie Nagy, broker Associate, BMC Real Estate