The net proceeds of sales made by the sheriff, and money or bank notes paid over to the county treasurer, as directed in this chapter, shall remain in the hands of the county treasurer in trust for the owner, if the owner applies within one year from the time the proceeds, moneys, or bank notes would have been paid over. However, if no owner appears within that time, the proceeds, moneys, or bank notes shall be forfeited, and the claim of the owner is forever barred, in which event the money shall be paid to the treasurer of state for deposit in the general fund of the state.