move get func_key_v2 to module func_key
add support tobuild config device with  func_key_v2