Frescobaldi, Lamberto, Secretary of the Grand Duke of Tuscany