so(2, 1) algebra, local Fermi velocity, and position-dependent mass Dirac equation