Generalized Fibonacci lattice dynamical trace map, invariant and quasi-invariant