Walmart, Amazon facing legal trouble over attendance-tracking system: lawyers