The investor companies may sue or be sued in this state in relation to the mortgage notes, mortgages, or deeds of trust, and service may be had on the Secretary of State when an investor company is a defendant. The venue of the actions shall be in the county of the residence of any party to the suit, unless otherwise provided by law, except that when land is involved, the venue shall be in the county where the land or any part of it is located.