Man who pretended to be a decorated veteran sentenced