Section 7. Any taxes assessed upon any bank under the provisions of the foregoing sections shall be in lieu of any and all other taxes under this chapter.