In order to promote public safety at the intersection of railroad lines and all classes of highways, there is hereby created a special fund known as the Grade Crossing Protection Fund which shall be established in the state treasury to be used in furnishing financial assistance in the improvement of the safety of railroad grade crossings in this state, including the elimination of such crossings, the construction, substantial modification, or improvement of and the maintenance of automatic crossing protection at such grade crossings, and the construction and maintenance of overpasses and underpasses at railroad crossings. Any money in the fund available for investment shall be invested by the state investment officer pursuant to the Nebraska Capital Expansion Act and the Nebraska State Funds Investment Act. Beginning October 1, 2024, any investment earnings from investment of money in the fund shall be credited to the General Fund.