Bartelli, Ludovico, Consultant to the Venetian Senate