Section 49A of said chapter 62C, as so appearing, is hereby amended by striking out subsections (a) and (b) and inserting in place thereof the following 2 subsections:- (a) A person applying to any department, board, commission, division, authority, district or other agency of the commonwealth or a subdivision of the commonwealth, includ