An Act providing for the testimony of witnesses in judicial, legislative and administrative proceedings who assert their privilege against self-incrimination, by making refusal to testify, without good cause shown, after a direction to testify pursuant to the act constitute civil or criminal contempt, or both, and prohibiting the use of testimony given under the act, or evidence derived therefrom, against such witnesses in certain criminal cases.